package controller.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class LogoutAction implements Action {

	@Override
	public String process(HttpServletRequest request,
			HttpServletResponse response) throws Exception {
		request.getSession().invalidate();
		response.setHeader("command", "logout");
		return null;
	}
}
